package phoenics.manpads.stinger.dao;

import phoenics.manpads.common.mybatis.page.Page;
import phoenics.manpads.common.mybatis.page.RequestPage;
import phoenics.manpads.stinger.domain.po.VvEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
/**
 * 
 * 
 * @author Phoneics Chow
 * @email phoenics@126.com
 * @date 2018-12-06 13:15:49
 */
@Mapper
public interface VvDao {
	
	 //查询所有 list
    public List<VvEntity> selectAll();
	
	 //查询所有 list 通过条件
    public List<VvEntity> selectMCon(VvEntity vvEntity);
	
	//查询一个
    public VvEntity selectById(Integer id);
	
	//添加
    public Integer insertVvEntity(VvEntity vvEntity);
	
	//修改
    public Integer updateVvEntity(VvEntity vvEntity);
	
	 //删除
    public int deleteVvByIdEntity(Integer id);

    Page selectAll(RequestPage p);

	
}

